package com.groupnections.client.Entities;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.groupnections.shared.Entity;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("entitiesDatabase")
public interface EntitiesDatabaseServerCalls extends RemoteService {

	List<Entity> listEntities();

	void saveEntity(Entity entity);

	void connectEntity(Entity entity, String entityID);

	Entity getEntity(String entityID);

}
